package com.paic.custserv.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.paic.custserv.domain.CussRoleAuthority;
import com.paic.custserv.mapper.CussRoleAuthorityMapper;
import com.paic.custserv.service.LoginService;

@Service("loginService")
public class LoginServiceImpl implements LoginService {

	@Autowired 
	CussRoleAuthorityMapper cussRoleAuthorityMapper;
	
	@Override
	public List<CussRoleAuthority> selectByRole(String roleId) {
		return cussRoleAuthorityMapper.selectByRole(roleId);
	}

}
